package cn.xydpeng.springframework.core;

/**
 * @author xydpeng
 * @version v1.0
 * @date: 2022/10/22
 * @description: 顺序的标识接口
 */
public interface Ordered {
    /**
     * Useful constant for the highest precedence value.
     * @see java.lang.Integer#MIN_VALUE
     */
    int HIGHEST_PRECEDENCE = Integer.MIN_VALUE;

    /**
     * Useful constant for the lowest precedence value.
     * @see java.lang.Integer#MAX_VALUE
     */
    int LOWEST_PRECEDENCE = Integer.MAX_VALUE;

    int getOrder();
}
